package VUTHANHPHUC.OOP.HOMEWORK.EX01;

public class Views {
public static void main(String[] args) {
	//1.Khai bao va khoi tao thong tin doi tuong
	UserEntity objUser = new UserEntity();
	objUser.setUserID(1);
	objUser.setUserName("abc");
	objUser.setFullName("Nguyen Van A");
	objUser.setPassWord("123");
	
	//2.Khai bao va khoi tao doi tuong thuoc Controllers
	Controllers objController = new Controllers(objUser);
	
	//3.Uy quyen thuc thi nghiep vu
	if(objController.CheckUser()){
		System.out.println("Chuc mung ban da dang nhap thanh cong");
	}
	else{
		System.out.println("Rat tiec cho chuyen gia");
	}
		
}
}
